import App from "./App.vue";
import { createApp } from "vue";
import router from "./router/router.js";
import Application from "./application/Application.vue";
import ElementPlus from "element-plus";
let app = createApp(Application, { app: App });
app.use(Application);

app.use(ElementPlus, { locale: window.ElementPlusLocaleZhCn }); //ui库
app.use(router);
window.$app = app;
window.app = app.mount("#app");

//提供全局通知组件(自动按需加载组件且只使用组件API需要手动引入组件样式)
// import "element-plus/es/components/message/style/css";
// import { ElMessage } from "element-plus";
// window.$message = ElMessage;
import "./app.css";
// export default app;
